package org.itboys.core.entity.mongo;

import org.itboys.mongodb.entity.BaseMongoEntity;

/**
 * @Author：贾琦磊
 * @Date：2018/8/14
 * @Description：配送区域
 */
public class SundayArea extends BaseMongoEntity {
    /**
     * 区域名称
     */
    private String name;
    /**
     * 前置仓id
     */
    private Long storeId;
    /**
     * 联系人
     */
    private String user;
    /**
     * 联系电话
     */
    private String mobile;
    /**
     * 前置仓名称
     */
    private String storeName;

    public SundayArea(){}
    public SundayArea(String name,Long storeId,String user,String mobile){
        this.name=name;
        this.storeId=storeId;
        this.user=user;
        this.mobile=mobile;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getStoreId() {
        return storeId;
    }

    public void setStoreId(Long storeId) {
        this.storeId = storeId;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("SundayArea{");
        sb.append("name='").append(name).append('\'');
        sb.append(", storeId=").append(storeId);
        sb.append(", user='").append(user).append('\'');
        sb.append(", mobile='").append(mobile).append('\'');
        sb.append(", storeName='").append(storeName).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
